/* include/modules/console.h 
 * 
 * Copyright (C) 2021, 2022 intirain. 
 *  
 * This file is part of evx. 
 * 
 * evx is free software: you can redistribute it and/or modify 
 * it under the terms of the GNU General Public License as published by 
 * the Free Software Foundation, either version 3 of the License, or 
 * (at your option) any later version. 
 * 
 * evx is distributed in the hope that it will be useful, 
 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 
 * GNU General Public License for more details. 
 * 
 * You should have received a copy of the GNU General Public License 
 * along with evx. If not, see <https://www.gnu.org/licenses/>
 */ 




#ifndef __MOD_CONSOLE_H
#define __MOD_CONSOLE_H


#ifndef __ASSEMBLER__

#include <sys/types.h>


#define TABSIZE 	8


/* for vga 80x25 display */

#define CMD_POS_LO 	0x0f
#define CMD_POS_HI 	0x0e

#define VGA_INDEX 	0x03d4
#define VGA_DATA 	0x03d5

#define FB_ADDR 	((__uint16_t *) 0xb8000)

#define COLMS 		80
#define LINES 		25

#endif

#endif

